-- GENERATED SPELL FOR [Felblade Doomguard] --


function spell0_19853(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(32736,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19853', 5295, 1)
end

function spell1_19853(pUnit, Event) --@War Stomp,n/a--
pUnit:FullCastSpellOnTarget(35238,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19853', 562, 1)
end

function Sorts_19853(pUnit, Event)
local choix_sorts_19853 = math.random(0, 1)
if choix_sorts_19853 == 0 then
pUnit:RegisterEvent('spell0_19853', 1, 1)
end
if choix_sorts_19853 == 1 then
pUnit:RegisterEvent('spell1_19853', 1, 1)
end
end

function mob19853_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19853', math.random(1500, 3000), 1)
end

function mob19853_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19853_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19853_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19853, 1, 'mob19853_Action')
RegisterUnitEvent(19853, 2, 'mob19853_Leave')
RegisterUnitEvent(19853, 3, 'mob19853_Kill')
RegisterUnitEvent(19853, 4, 'mob19853_Die')
